#ifndef UTIL_H
#define UTIL_H

#include "inc.h"
#include "pager.h"
#include "table.h"

/*
 * these rountines are used for debuging
 * page storation and flushing
 */

void printPageLayout(page_t *page);
void printRecord(page_t *page, int type);
void printOneRecord(record_t *record, int type);
void printSlot(page_t *page);
int printTable(table_t *table);
void generateRecord(int key, record_t *record, int type);

#endif  /* UTIL_H */